package com.xyf;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @program: clms-seventh
 * @description: MaintainShop启动类
 * @author: 徐亚飞
 * @create: 2021-07-23 10:26
 **/

@SpringBootApplication
@MapperScan(basePackages = {"com.xyf.mapper"})
@ComponentScan(basePackages = {"com.xyf","com.seventh.common"}) //默认扫描的组件为主启动类所在的包以及子包   自定义扫描的包
public class MaintainShopApp {
    public static void main(String[] args) {
        SpringApplication.run(MaintainShopApp.class,args);
    }


}
